package com.lingo.a2b.model.vo;

import com.lingo.a2b.model.entity.ConnectFieldRelative;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author lingo
 * @version v1.0
 * @date 2020/9/3 15:13
 * @Company www.xyb2b.com
 */
@Setter
@Getter
@ToString
public class ConnectFieldRelativeSaveVo {

    @ApiModelProperty("关联字段集合")
    @Valid
    private List<ConnectFieldRelative> fieldList;

    @ApiModelProperty("项目id")
    @NotNull(message = "项目id不能为空")
    private Integer fprojectId;
}
